<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>参与记录 - {php echo $this->module['config']['sname']}</title>
		{php echo register_jssdk();}
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
		<meta content="telephone=no" name="format-detection">
		<link rel="stylesheet" href="../addons/weliam_indiana/template/css/css.css">
		<link href="../addons/weliam_indiana/static/css/common.css" rel="stylesheet">
		<link href="../addons/weliam_indiana/static/css/user.css" rel="stylesheet">	
	</head>
	<body>
	<style>
#moreBtn{position: fixed; top: 0; right: 5px; z-index: 2; padding: 0 10px; line-height: 36px;}
</style>
<div class="m-simpleHeader" id="dvHeader">
	<a href="javascript:history.back(-1);" data-pro="back" data-back="true" class="m-simpleHeader-back"><i class="ico ico-back"></i></a>
	<h1>本期参与记录</h1>
	<a id="moreBtn" href="{php echo $this->createMobileUrl('index')}"><i class="ico ico-home"></i></a>
</div>
	<ul class="w-goodsList w-goodsList-l m-user-goodsList" data-pro="list">
    <li class="w-goodsList-item" id="pro-view-8" style="  border-bottom: 1px solid #F7F7F7;">
<section class="wrap">
	<section id="oneUserJoinInfo" class="white_box">
	<h3 class="pri_tit1"> 
	<a href="{php echo $this->createMobileUrl('details', array('id' => $_GPC['id']))}" title="{$goods['title']}">(第{$goods['periods']}期){$goods['title']}</a> </h3>
	<div class="user_jion_info">
		<span class="abs_left">用户：<span id="oneUserNick" class="fc">{$re_list[0]['nickname']}</span></span>
	</div>
	<div class="lucky_code_list">
		<table id="oneUjoinList" width="100%" border="0" cellspacing="0" cellpadding="0" class="tb">
			<tbody>
				<tr>
					<th style="align:center;text-align:center">兑换时间</th>
					<th style="align:center;text-align:center">兑换数量</th>
					<th style="align:center;text-align:center">幸运号码</th>
				</tr>
			</tbody>
{loop $re_list $gid $lists}
<tr>
	<td style="align:center;text-align:center">{php echo date('Y-m-d',$lists['createtime'])}</td>
	<td style="align:center;text-align:center">{$lists['count']}</td>
	<td style="align:center;text-align:center"><a name="viewMore" href="{php echo $this->createMobileUrl('showrecord', array('id' => $lists['id']))}" title="查看幸运码" class="chk_link" style="padding-left:0;">查看幸运码</a>
	</td>
</tr>
{/loop}
		</table>
</div>
	</section>
</section>
    </li>
    </ul>
</body>
<script>
	wx.ready(function (){
	var shareData = {
		title: "{$share_data['share_title']}",
		desc: "{$share_data['share_desc']}",
		link: "{$_W['siteroot']}app/{php echo str_replace('./','',$this->createMobileUrl('mshare', array('op'=>'invite', 'sopenid'=>$_W['openid'])))}",
		imgUrl: "{$_W['attachurl']}{$share_data['share_image']}",
	};
//分享朋友
	wx.onMenuShareAppMessage({
	    title: shareData.title,
	  	desc: shareData.desc,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});
//朋友圈
	wx.onMenuShareTimeline({
	  	title: shareData.title,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});
});
</script>
</html>